#!/usr/bin/env python
import json


def highcharts(data):
    '''
    public highcharts data
    '''
    data['chart'] = {'type': 'spline', 'marginRight': 10, 'animation':
                     'Highcharts.svg'}
    data['xAxis'] = {'type': 'datetime', 'tickPixelInterval': 150}
    data['yAxis'] = {'title': {'text': 'Value'}, 'plotLines':
                     [{'value': 0, 'width': 1, 'color': '#808080'}]}
    data['tooltip'] = {'valueSuffix': ''}
    return json.dumps(data)
